package com.ljf.authority.dto.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.validation.AddGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * API列表定义--模板新增  authority_base_api_tabulation
 *
 * @author LJF
 * @since 2025-06-21
 */
@Data
@ApiModel("API列表定义--模板新增")
public class AuthorityBaseApiTabulationTemplateCommand implements Serializable {

    @JsonProperty("tableName")
    @ApiModelProperty(value = "表名")
    @NotEmpty(message = "表名不能为空", groups = AddGroup.class)
    private String tableName;

    @JsonProperty("backendList")
    @ApiModelProperty(value = "后端编码(集合)")
    private List<String> backendList;

}
